﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Project
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
         //   Application.Run(new Main());
            string temp = Properties.Settings.Default.textbox;

            if (temp == "Main")
           {
               var myLoginForm = new Main();
               myLoginForm.Show();
               Application.Run();
           }
           else
           {
               var myLoginForm = new Login();



               myLoginForm.Show();
               Application.Run();
           }
            
        }
    }
}
